import request from '@/utils/request'

// 查询导航栏标签类型配置列表
export function listBlogNavigationConfig(query) {
  return request({
    url: '/blog/BlogNavigationConfig/list',
    method: 'get',
    params: query
  })
}

// 查询导航栏标签类型配置详细
export function getBlogNavigationConfig(id) {
  return request({
    url: '/blog/BlogNavigationConfig/' + id,
    method: 'get'
  })
}

// 新增导航栏标签类型配置
export function addBlogNavigationConfig(data) {
  return request({
    url: '/blog/BlogNavigationConfig',
    method: 'post',
    data: data
  })
}

// 修改导航栏标签类型配置
export function updateBlogNavigationConfig(data) {
  return request({
    url: '/blog/BlogNavigationConfig',
    method: 'put',
    data: data
  })
}

// 删除导航栏标签类型配置
export function delBlogNavigationConfig(id) {
  return request({
    url: '/blog/BlogNavigationConfig/' + id,
    method: 'delete'
  })
}
